﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;

namespace PongGame
{
    class Paddle:Sprite
    {
        
        public Paddle(Texture2D textureImage, Vector2 position, Vector2 speed, Rectangle Rect, Rectangle? sourceRect, Color color)
            : base(textureImage, position, speed, Rect, sourceRect, color)
        {
        }

        public override void Draw(SpriteBatch spriteBatch)
        {
           spriteBatch.Begin();
           spriteBatch.Draw(textureImage, new Rectangle(0, 0, rect.Width, rect.Height), Color.LightGray);
           spriteBatch.End();
        }
    }
}
